class Page < ActiveRecord::Base
  include HeaderTools
  
	validates_presence_of :title, :content
	
	acts_as_enum :form_type, [:none, :standart, :restructuring]
	TYPES = [ ['-', :none], 
						["Стандартная форма", :standart],
						["Реструктуризация кредитов и отсрочки", :restructuring] ]
	
#	define_index do
#  	indexes :title
#  	indexes :content
# end
end
